package com.tengju.user.domain.model.csm.dealer;

import com.tengju.user.domain.model.user.StarLevelEnum;
import com.tengju.user.domain.model.user.UserApplayTypeEnum;
import com.tengju.user.domain.model.user.UserLevelEnum;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Auther: kezunfa
 * @Date: 2021/4/22 19:11
 * @Description:
 */
@Data
public class CrmDealerInfo {

    /**
     * 用户id
     */
    private Long idCode;
    private String userName;
    private String mobile;
    private String nickName;
    private UserLevelEnum level;
    private LocalDateTime levelChgAt;
    private UserApplayTypeEnum applyType;
    private String userCountry;
    private String userProvince;
    private String userCity;
    private Long supIdCode;
    private String supUserName;
    private String supNickName;
    private Long asscHkIdCode;
    private String asscHkName;
    private String asscHkNickName;
    private Long inviteCode;
    private StarLevelEnum starLevel;
    private Long blStar1IdCode;
    private String blStar1Name;
    private Long blStar2IdCode;
    private String blStar2Name;
    private Long blStar3IdCode;
    private String blStar3Name;
    private Long blStar4IdCode;
    private String blStar4Name;
    private Long blEcIdCode;
    private String blEcName;
    private Long blSecIdCode;
    private String blSecName;
    private Long blClubId;
    private String blClubName;
    private int areaHkCnt;
    private int areaSvipCnt;
    private int areaVvipCnt;
    private int areaVipCnt;
    private int areaRuCnt;
    private int custHkCnt;
    private int custSvipCnt;
    private int custVvipCnt;
    private int custVipCnt;
    private int custRuCnt;

    public static CrmDealerInfo of(long idCode, String userName, String mobile) {
        CrmDealerInfo crmDealerInfo = new CrmDealerInfo();
        crmDealerInfo.setIdCode(idCode);
        crmDealerInfo.setUserName(userName);
        crmDealerInfo.setMobile(mobile);
        return crmDealerInfo;
    }
}
